package com.claimSettlement.service.impl;

import com.claimSettlement.mapper.RiskTypeMapper;
import com.claimSettlement.pojo.RiskType;
import com.claimSettlement.service.RiskTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 险别Service实现类
 */
@Service
public class RiskTypeServiceImpl implements RiskTypeService {

    @Resource
    RiskTypeMapper mapper;
    public List<RiskType> getRiskTypeAll() {
        return mapper.getRiskTypeAll();
    }

    public List<Integer> getRiskTypeBycaseId(String caseId, String type) {
        return mapper.getRiskTypeBycaseId(caseId, type);
    }
}
